package com.ydy.common.model;

import java.io.Serializable;

public class Permissions implements Serializable {

    private Integer id;

    private String permissionCode;

    private String permissionUrl;

    private String permissionName;

    public Permissions() {
    }

    public Permissions(String permissionCode, String permissionName) {
        this.permissionCode = permissionCode;
        this.permissionName = permissionName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getPermissionUrl() {
        return permissionUrl;
    }

    public void setPermissionUrl(String permissionUrl) {
        this.permissionUrl = permissionUrl;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionsName(String permissionName) {
        this.permissionName = permissionName;
    }

    @Override
    public String toString() {
        return "Permissions{" +
                "id=" + id +
                ", permissionCode='" + permissionCode + '\'' +
                ", permissionUrl='" + permissionUrl + '\'' +
                ", permissionName='" + permissionName + '\'' +
                '}';
    }
}
